package com.edu.bean;

public class StudentProxy extends Student implements Study{

    private Student stu;

    public StudentProxy(Student stu) {
        this.stu = stu;
    }

    @Override
    public void study(){
        System.out.println(stu.getStuName()+"正在学习");
        stu.study();
        System.out.println("敲代码");
        System.out.println("记笔记");
    }
}
